package cn.xn.hrms.domain.service;

import cn.xn.hrms.api.dto.res.PersonalTrainDTO;
import cn.xn.hrms.api.dto.req.PersonalTrainReqDTO;
import com.github.pagehelper.PageInfo;

import java.util.Collection;
import java.util.Date;
import java.util.List;

/**
 * @author ysz
 */
public interface PersonalTrainService {

    PageInfo<PersonalTrainDTO> findAll(int pageNum, int pageSize, Integer departmentId, int personalId, Date beginDate, Date endDate);
    List<PersonalTrainDTO> all();

    void insert(PersonalTrainReqDTO personalTrainReqDTO);

    void deleteByIdIn(Collection<Integer> idList);

    void updateById(Integer id, PersonalTrainReqDTO personalTrainReqDTO);
}
